class Category1 {
  List<String> subTitle;
  String titile;
  List<String> vidAddr;

  Category1({this.subTitle, this.titile, this.vidAddr});

  Category1.fromJson(Map<String, dynamic> json) {
    subTitle = json['subTitle'].cast<String>();
    titile = json['titile'];
    vidAddr = json['vidAddr'].cast<String>();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['subTitle'] = this.subTitle;
    data['titile'] = this.titile;
    data['vidAddr'] = this.vidAddr;
    return data;
  }
}

class CategoryList {

  List<Category1> data;
  CategoryList(this.data);
  factory CategoryList.formJson(List<dynamic> json){
    return CategoryList(
        json.map((i)=>Category1.fromJson((i))).toList()
    );
  }
}

